package com.sunreal.paygateway.sys.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sunreal.paygateway.sys.dao.mapper.SysRoleMapper;
import com.sunreal.paygateway.sys.dao.mapper.SysUserMapper;
import com.sunreal.paygateway.sys.dao.model.SysUser;

/**
 * 功能描述：//TODO
 *
 * @Author 彭广
 * @Date 2019/1/22
 */
@Service
public class SysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;
    @Autowired
    private SysRoleMapper sysRoleMapper;

    public SysUser selectUserByName(String username) {
        return sysUserMapper.selectUserByName(username);
    }
}
